home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0793july.archive
/
000031_crash!kirk.safb.af.mil!BWILLS_Wed, 14 Jul 93 05:47:22 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
1KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Wed, 14 Jul 93 05:47:22 PST
Received: from kirk.safb.af.mil by crash.cts.com with smtp
(Smail3.1.28.1 #15) id m0oG5lo-00008sC; Wed, 14 Jul 93 05:17 PDT
Message-Id: <m0oG5lo-00008sC@crash.cts.com>
Date: 14 Jul 93 07:13:00 CST
From: "Barry D. Wills" <BWILLS@kirk.safb.af.mil>
To: "amigae" <amigae@bkhouse.cts.com>
Subject: re: Mod()
Yeah, Jason. I got the same thing from mod. According to E21b (on *my*
computer) Mod (40000001, 400) = 610. Here's a mod() function I wrote:
----- CUT HERE ----------------------------------------------------------------
PROC mod (this, bythis) RETURN this - Mul (Div (this, bythis), bythis)
PROC main ()
WriteF ('Mod (40000001, 400) = \d\n', Mod (40000001, 400))
WriteF ('mod (40000001, 400) = \d\n', mod (40000001, 400))
ENDPROC
----- CUT HERE ----------------------------------------------------------------
This program's output is:
Mod (40000001, 400) = 610
mod (40000001, 400) = 1
Later. -- Barry